﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for UserFeedback
/// </summary>
namespace CE.User
{
    public class UserFeedback
    {
        private Int64 _feedbackid;
        private Int64 _refceuserid;
        private Int16 _emotiontype;
        private Int16 _feedbacktype;
        private string _name;
        private string _email;
        private string _feedback;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public UserFeedback()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 FeedbackId
        {
            get { return _feedbackid; }
            set { _feedbackid = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int16 EmotionType
        {
            get { return _emotiontype; }
            set { _emotiontype = value; }
        }

        public Int16 FeedbackType
        {
            get { return _feedbacktype; }
            set { _feedbacktype = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string Feedback
        {
            get { return _feedback; }
            set { _feedback = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public void ClearFields()
        {
            _feedbackid = 0;
            _refceuserid = 0;
            _emotiontype = 0;
            _feedbacktype = 0;
            _name = "";
            _email = "";
            _feedback = "";
            _status = true;
            _createddate = new DateTime();
            _modifieddate = new DateTime();

        }

    }
}